import request from "@/utils/request.js";

// 获取办案区使用趋势图
export const getSendPoliceTrendOfJwApply = (query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/TrendOfJwApply',
        params: query,
        isEncrypt: false
    })
}

// 获取办案区柱状图数据
export const getSendPoliceBarOfJwApply = (query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/jwApplyCount',
        params: query,
        isEncrypt: false
    })
}

// 获取办案区柱状图省院级数据
export const getSendPoliceBarOfJwApplyProvince = (query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/jwApplyCountLast',
        params: query,
        isEncrypt: false
    })
}

// 获取办法区统计列表数据
export const getSendPoliceTableList = (data, query) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/jwApplyCountList',
        params: query,
        data: data,
        isEncrypt: false
    })
}